1 link tagged with all of: browser automation + anthropic sdk + claude + agents
Click any tag below to further narrow down your results
Links
This is a technical guide for implementing browser automation using Anthropic's Python and TypeScript SDKs. You subclass the provided toolset, implement methods for browser actions like navigation and clicking, and let Claude control the browser through your automation backend.
- You must provide your own browser automation backend (like Playwright) and URL policy — the SDK doesn't include a browser or ready-made driver, only the framework to wire them together.
- Each browser method you implement returns structured results that Claude reads as natural language (e.g., "Navigated to {url} — {title}"), plus a state report of open tabs and changes since the last action.
- The SDK enforces policies at call time: URL policies block navigation, file policies restrict file access, and you can add hooks to log, modify inputs, or refuse calls before they execute.